<template>
	<view class="orderDetail_box">
		<view class="orderDetail">
			<view class="order_title">
				<text>自提</text>
				<text class="ads">茶百道成华339店</text>
				<text>已取消</text>
				<image src="../../static/icon/yj.png" mode=""></image>
			</view>
			<view class="orderTime">
				下单时间 <text>2022-10-14 15:14:05</text>
			</view>
			<view class="orderInfo">
				<view class="orderImg">
					<image src="../../static/danpin/shuangxi/ziputao.jpg" mode=""></image>
					<image src="../../static/danpin/shuangxi/qingputao.jpg" mode=""></image>
				</view>
				<view class="statistics">
					<view class="">共2件</view>
					<view class="">合计：<text>￥29</text> </view>
				</view>
			</view>
			<view class="orderManage">
				<button>删除订单</button>
				<button>重新下单</button>
			</view>
		</view>
	</view>

</template>

<script setup>

</script>

<style>
	.orderDetail_box {
		width: 100%;
		height: 354rpx;
		padding-left: 28rpx;
		padding-right: 28rpx;
		box-sizing: border-box;
		margin-top: 18rpx;
	}

	.orderDetail {
		width: 100%;
		height: 100%;
		border-radius: 20rpx;
		padding: 32rpx 28rpx 32rpx 28rpx;
		box-sizing: border-box;
		background-color: #fff;
		position: relative;
	}

	.order_title {
		width: 100%;
		line-height: 36rpx;
		position: relative;
	}

	.order_title image {
		width: 20rpx;
		height: 20rpx;
		margin-left: 20rpx;
		position: absolute;
		right: 0;
		top:10rpx;
	}

	.order_title text:first-child {
		background-color: #e5eef6;
		display: inline-block;
		color: #044ccd;
		font-size: 20rpx;
		text-align: center;
		width: 52rpx;
		line-height: 30rpx;
		position: relative;
		top: -5rpx;
	}

	.order_title text:last-child {
		font-size: 24rpx;
		text-align: center;
	}

	.ads {
		font-size: 34rpx;
		font-weight: bold;
		margin-left: 14rpx;
		margin-right: 180rpx;
	}

	.orderInfo {
		width: 100%;
		height: 100rpx;
		display: flex;
		justify-content: space-between;
		margin-top: 26rpx;
	}

	.orderImg image {
		width: 100rpx;
		height: 100rpx;
		margin-left: 16rpx;
	}

	.orderManage {
		width: 334rpx;
		height: 58rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-top: 28rpx;
		position: absolute;
		right: 28rpx;
		bottom: 32rpx;
	}

	button {
		width: 158rpx;
		line-height: 58rpx;
		text-align: center;
		border-radius: 58rpx;
		border: 1rpx solid #044ccd;
		font-size: 24rpx;
	}
	button:first-child{
		color:#044ccd;
	}
	button:last-child{
		color:white;
		background-color: #0050c8;
	}
	.orderTime{
		margin-top: 20rpx;
		font-size: 20rpx;
		color: #aeaeae;
	}
	.statistics{
		color: #aeaeae;
		font-size: 24rpx;
	}
	.statistics view:last-child{
		color:#666666 ;
		font-size: 26rpx;
		margin-top: 14rpx;
	}
	.statistics view>text{
		color:black;
		font-size: 26rpx;
	}
</style>
